//
//  PywSelectCouponCell.h
//  PywSdk
//
//  Created by liangyidong on 16/3/5.
//  Copyright © 2016年 zero. All rights reserved.
//

#import <UIKit/UIKit.h>
@class PywCoupon;
typedef void (^ChooseCoupon)(NSInteger chooseAmount);
@interface PywSelectCouponCell : UITableViewCell
@property (nonatomic,strong) PywCoupon *coupon;
@property (nonatomic,assign) CGFloat orgPayAmount;//订单金额
@property (nonatomic,assign) CGFloat selectPayAmount;//选择金额
@property (nonatomic,copy) ChooseCoupon chooseCoupon;
/**
 *  修改cell选中状态
 *
 *  @param choose <#choose description#>
 */
- (void)updateChooseStatus:(BOOL)choose;
/**
 *  更新可选不可选的背景状态
 *
 *  @param isEnable <#isEnable description#>
 */
- (void)updateChooseBackgroudColor:(BOOL)isEnable;
@end
